import type { AjaxPagingResult, LogQueryListParams } from '@/types'

const controller = getAjaxBaseUrl('/sysLog')

export function queryList(params: Partial<LogQueryListParams>) {
  return post<AjaxPagingResult>(`${controller}/queryLogPage`, params)
}
